<template>
  <div>
    <h1 style="color: green"></h1>
    <el-container style="height: 600px; border: 1px solid #eee">
      <!-- 侧边栏 -->
      <el-aside   style="background-color: rgb(238, 241, 246);height:600px;width:200px;">
        <h3>管理系统</h3>
        <el-menu :default-openeds="[]">
          <el-submenu index="0">
            <template slot="title"
              ><i class="el-icon-setting"></i>首页</template
            >
            <el-menu-item-group>
              <el-menu-item index="1-0">
                <router-link to="/yemian/homepage" style="text-decoration: none"
                  >echarts</router-link
                >
              </el-menu-item>
            </el-menu-item-group>
          </el-submenu>
          <el-submenu index="1">
            <template slot="title"
              ><i class="el-icon-setting"></i>系统管理</template
            >
            <el-menu-item-group>
              <el-menu-item index="1-1">
                <router-link to="/yemian/user" style="text-decoration: none">用户管理</router-link>
              </el-menu-item>
              <el-menu-item index="1-2">
                <router-link to="/yemian/role" style="text-decoration: none">角色管理</router-link>
              </el-menu-item>
              <el-menu-item index="1-3">
                <router-link to="/yemian/menu" style="text-decoration: none">菜单管理</router-link>
              </el-menu-item>
              <el-menu-item index="1-4">
                <router-link to="/yemian/dictionaries" style="text-decoration: none">字典管理</router-link>
              </el-menu-item>



            </el-menu-item-group>
          </el-submenu>

        </el-menu>
      </el-aside>

      <el-container>
        <!-- 头部 -->
        <el-header style="text-align: right; font-size: 12px">
          <div style="width: 100%; height: 60px">
            <div style="width: 1000px; height: 60px;text-align: left">
              <i class="el-icon-s-unfold" style="width: 50px; height: 30px"></i>

            </div>

          </div>
        </el-header>
        <!-- 子路由(身体) -->
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
export default {
  data() {

    //下拉框选择器
    return {
      input : "",
      // tableData: Array(20).fill(item),
      options: [
        {
          value: "选项1",
          value1: "选项1",
          label: "男",
        },
        {
          value: "选项2",
          value1: "选项2",
          label: "女",
        },
      ],
      value: "",
    };
  },
};
</script>
<!-- 大页面 -->
<style>
.el-header {
  background-color: #b3c0d1;
  color: #333;
  line-height: 60px;
}

.el-aside {
  color: #333;
}
</style>
